<template>
    <el-header>
      <router-link :to="{ name: 'home'}" tag="span" style="color:#409EFF"><i class="el-icon-success"></i> 滴答清单-一个帮你高效任务和规划时间的应用</router-link>
      <el-dropdown style="float:right">
        <span>你好</span>
        <i class="el-icon-setting" style="margin-right: 15px"></i>
        <el-dropdown-menu slot="dropdown">
          <el-dropdown-item><router-link :to="{ name: 'user'}" tag="li">个人中心</router-link></el-dropdown-item>
          <el-dropdown-item><router-link :to="{ name: 'SignIn'}" tag="li">安全退出</router-link></el-dropdown-item>
        </el-dropdown-menu>
      </el-dropdown>
    </el-header>
</template>
 <script>
    export default {
        name: 'BaseHeader'
    }
 </script>
 
